#include<iostream>
#include<cmath>
#include<algorithm>
using namespace std;
typedef long long LL;
int main()
{
	int a, b;
	cin >> a >> b;
	int c = a * b;
	cout << c % 100 << endl;
	return 0;
}